package com.data.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.data.dto.DataInfoQueryDTO;
import com.data.entity.DataInfo;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

public interface DataInfoService extends IService<DataInfo> {
    void importExcel(MultipartFile file) throws IOException;
    IPage<DataInfo> listByPage(DataInfoQueryDTO query);
    List<DataInfo> findAll();
    List<String> getDictOptions(@RequestParam Integer dictType);
}